#!/bin/bash
read count;
for((i=1;i<=count;i++)){
    for((j=1;j<=count-i;j++)){
        printf " ";
    }
    for((a=1;a<=i;a++)){
        if [ a == 1 ]
        then
          printf "*";
        else
          printf "* "
        fi
    }
    printf "\n";
}
